package com.example.sxmall.auth;

/**
 * @Description: TODO
 * @Author whh-yt
 * @Date 2022/3/28 3:56 下午
 */
public class UserTestHandler {

    public static final String VISITOR = "visitor";

    public static UserInfo visitor() {
        UserInfo userInfo = new UserInfo();
        userInfo.setOpenId(VISITOR);
        userInfo.setUnionId(VISITOR);
        userInfo.setUserCode(VISITOR);
        userInfo.setNickname(VISITOR);
        userInfo.setToken(VISITOR);
        return userInfo;
    }
}
